package com.yenchingcheng.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author Yenchingcheng
 * @Date 2024/1/18 14:31
 * @Description 管理员
 **/
public class CareTaker {

    private List<Memento> mementoList = new ArrayList<Memento>();

    public void add(Memento memento){
        mementoList.add(memento);
    }

    public Memento getMemento(int index){
        return mementoList.get(index);
    }
}
